package bjut.core.factory;

import bjut.core.postprocessor.BeanPostProcessor;
import bjut.core.resolver.StringValueResolver;
import bjut.core.singleton.SingletonBeanRegistry;

/**
 * @Author: zhuzhiming
 * @Date: 2022/3/26 23:49
 */
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory, SingletonBeanRegistry {

    String SCOPE_SINGLETON = "singleton";

    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    void destroySingletons();

    void addEmbeddedValueResolver(StringValueResolver valueResolver);

    String resolveEmbeddedValue(String value);


}
